﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YNCNumberSys.db
{
    public class UserEntity
    {
        public UserEntity()
        {
        }
        public UserEntity(int id,string pwd,string name,string code)
        {
            m_usId = id;
            m_usPwd = pwd;
            m_usName = name;
            Code = code;
        }
        /// <summary>
        /// 用户的ID
        /// </summary>
        int m_usId;
        public int Id
        {
            get { return m_usId; }
            set { m_usId = value; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        string m_usPwd = string.Empty;
        public string Pwd
        {
            get { return m_usPwd; }
            set { m_usPwd = value; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        string m_usName = string.Empty;
        public string Name
        {
            get { return m_usName; }
            set { m_usName = value; }
        }
        /// <summary>
        /// 用户(用户工号)
        /// </summary>
        string m_code = string.Empty;
        public string Code
        {
            get { return m_code; }
            set { m_code = value; }
        }
    }
}
